﻿@model IEnumerable<UserListModel>
@{
    ViewBag.Title = "List";
}
<table class="list">
    <tr class="head">
        <th>
            操作
        </th>
        <th>
            真实姓名
        </th>
        <th>
            用户名
        </th>
        <th>
            管理员类型
        </th>
    </tr>
    @foreach (var t in Model)
    {
        <tr>
            <td>
                @Html.ActionLink("修改", "Edit", new { username = @t.UserName }, new { @class = "lnkEdit" })
                @Html.ActionLink("删除", "Del", new { username = @t.UserName }, new { @class = "lnkDel" })
                @Html.ActionLink("重置密码", "ResetPasswd", new { username = @t.UserName }, new { @class = "lnkResetPassWd" })
            </td>
            <td>@t.RealName
            </td>
            <td>@t.UserName
            </td>
            <td>@t.UserTypeString
            </td>
        </tr>
    }
</table>
